import styled from 'styled-components';
import middleCount from '@/assets/images/bg-middle-count.png';

export const MiddleCountStyled = styled.div`
  .point {
    display: inline-block;
    margin: 0 1rem;
    margin-bottom: 0.13rem;
    background-color: #00ffff;
    width: 0.5rem;
    height: 0.5rem;
  }

  .middle-count {
    display: flex;
    width: 100%;
    .count-left {
      // height: 10rem;
      flex: 8;
      padding-bottom: 15px;
      background-image: url(${middleCount});
      background-position: center center;
      background-repeat: no-repeat;
      background-size: 100% 100%;

      display: flex;
      flex-direction: column;

      .left-top {
        margin-top: 0.5rem;
        height: 80%;
        display: flex;
        .left-item {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          text-align: center;

          .item-number {
            color: #00ffff;
            font-size: 1.6rem;
          }
          .item-words {
            padding-top: 1rem;
            color: #fff;
            @media screen and (width: 2560px) {
              font-size: 1.3rem;
          }
          
          }
          .item-0{
            color: #fff;
            @media screen and (width: 2560px) {
              font-size: 1.3rem;
          }
          }
        }

        div {
          width: 100%;
        }

        .left-item1 {
          .item-number {
            border-right: #1988f8 1px solid;
          }
          .item-words {
            border-right: #1988f8 1px solid;
          }
        }
        .left-item2 {
          .item-number {
            border-right: #1988f8 1px solid;
          }
          .item-words {
            border-right: #1988f8 1px solid;
          }
        }
        .left-item3 {
          .item-number {
            border-right: #1988f8 1px solid;
          }
          .item-words {
            border-right: #1988f8 1px solid;
          }
        }
      }

      .left-bottom {
        margin: 0.5rem 0;
        height: 20%;
        color: #1780ea;

        .bottom-number {
          display: inline-block;
          margin: 0 0.5rem;
          color: #ffb600;
          font-size: 1.3rem;
        }
      }
    }
    .count-right {
      flex: 2;
      position: relative;
      .right-middle {
        position: absolute;
        text-align: center;
        top: 30%;
        left: 35%;
        .right-number {
          color: #00ffff;
          font-size: 1.6rem;
        }
        .right-words {
          margin-top: 0.8rem;
          color: #fff;
        }
      }
    }
  }
  .collectRine{
    top: 135%; 
     @media screen and (width: 2560px) {
      top: 160%;
  }
  }
  .middle-footer {
    margin-top: 1rem;
    height: 2.5rem;
    line-height: 2rem;
    .footer-words1 {
      margin-left: 1rem;
      color: #fff;
      .footer-number1 {
        color: #00ffff;
        font-size: 1.6rem;
        margin: 0 0.5rem;
      }
    }

    .footer-words2 {
      display: inline-block;
      background-image: linear-gradient(
        to right,
        rgba(3, 41, 86, 1) 0%,
        rgba(3, 41, 86, 0.8) 10%,
        rgba(3, 41, 86, 0.4) 40%,
        rgba(3, 41, 86, 0.2) 60%,
        rgba(3, 41, 86, 0) 100%
      );

      margin-left: 1rem;
      color: #1782ee;
      .footer-number2 {
        color: #ffb600;
        font-size: 1.6rem;
        margin: 0 0.5rem;
      }

      .point {
        margin: 0 0.5rem;
        margin-bottom: 0.1rem;
      }
    }
  }
  .mainHeader{
    width: 100%;
    display: flex;
    //  justify-content:center; margin: auto;
    align-items: baseline;
    position: relative ;
        justify-content: space-around;
  }
  .mainBody{ 
    width: 100%; display: flex; justify-content: space-between; margin: auto;
    margin-bottom: 30px;
     align-items: baseline;

     @media screen and (width: 2560px) {
      margin-bottom: 60px;
  }
  @media screen and (width: 1920px) {
    margin-bottom: 30px;
}
     .mainBodyLeft{
      display: flex;
      align-items: center;
     }
     .mainBodyRight{
      display: flex ;
      align-items: center;
     }
     .mainBodyLine{
      top: 4.5rem;
      @media screen and (width: 2560px) {
        top: 7rem;
    }
    @media screen and (width: 1920px) {
      top: 3.5rem;
  }
    }
     }
  }
  .mainfloot{ 
    
    width: 100%; display: flex; justify-content: flex-start; 
    margin: auto;
    margin-top: 6%;
     align-items: center;
     @media screen and (width: 2560px) {
      margin-top: 6%;
      top: -5rem;
  }
  @media screen and (width: 1920px) {
    top: -3.5rem;
    margin-top: 8%;

}
     .mainFlootCenter{
       width: 100%;
        display: flex;      
      // margin: auto;
      justify-content: space-between;    
      position: relative ;

      .mainFlootLine{
        top: -3.5rem;
        @media screen and (width: 2560px) {
          top: -5rem;
      }
      @media screen and (width: 1920px) {
        top: -3.5rem
    }
      }
   
   


     }
  }

`;
